Descriptive Typing Rules for Xcerpt
نویسندگان
چکیده
We present typing rules for the Web query language Xcerpt. The rules provide a descriptive type system: the typing of a program is an approximation of its semantics. The rules can also be seen as an abstract form of a type inference algorithm (presented in previous work), and as a stage in a formal soundness proof of the algorithm. The paper considers a substantial fragment of Xcerpt; the main restriction is that we deal with data terms corresponding to trees (instead of general graphs), and we do not deal with Xcerpt rule chaining. We provide a formal semantics for the fragment of Xcerpt and a soundness theorem for the presented type system. The semantics is a basis for a soundness proof of the typing system, the proof is given in a full version of this paper.
منابع مشابه
Errata to “Descriptive Typing Rules for Xcerpt”
This is errata to the paper [1] S. Berger, E. Coquery, W. Drabent, and A. Wilk. “Descriptive typing rules for Xcerpt.” In International Workshop, PPSWR 2005, Dagstuhl Castle, Germany, September 2005, Proceedings, number 3703 in LNCS, pages 85–100. Springer Verlag, 2005. http://www.springerlink.com/link.asp?id= 8rejjqbwxbkydlwr and to its extended version [2] S. Berger, E. Coquery, W. Drabent, a...
متن کاملType Inference and Rule Dependencies in Xcerpt
We present a type system for a substantial fragment of the Web query language Xcerpt. It is a descriptive type system: the typing of a program is an approximation of its semantics. This paper augments the previous work on typing single Xcerpt rules, by a type inference method for possibly recursive Xcerpt programs (consisting of many rules). The method may be seen as abstract interpretation. We...
متن کاملInitial Specification of a Language Extension with Types and Type Checking
Types are a useful mechanism for early error detection and optimization of any programming language. Semi-structured query evaluation as in Xcerpt needs to be able to cope without schema information or types, in contrast to the relational case. Nevertheless, if available, type information enables query optimization well beyond what is possible in its absence. Furthermore, since semi-structured ...
متن کاملTypes for Web Rule Languages: a preliminary study
We survey and analyse the relevant existing work on typing of rules, in particular on typing of constraint logic programs and discuss applicability of these approaches to the REWERSE reasoning and query languages under development by WG I1 and by WG I4. This is related to WG I1, developing logic programming like languages for reasoning on the web and with WG I4 investigating development of decl...
متن کاملTyping composition of rule-based languages
This deliverable will describe how it is possible to integrate and apply the typing systems developed within I3 to the composition framework developed within the same group. This will show how the already developed typing techniques can help improve finding errors and problems during composition. The deliverable will in particular describe how a specific composition system addressing Xcerpt ben...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005